package com.seashop.service;

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * @author moredln
 * @desc
 * @date 2020/12/2 10:27 上午
 */
public interface IMemberService {

    /**
     * 预期收益
     * @param userId
     * @param countryCode
     * @return
     */
    BigDecimal queryFreezeIncome(Integer userId, String countryCode);

    /**
     * 历史收益
     * @param userId
     * @param countryCode
     * @return
     */
    BigDecimal queryHistoryIncome(Integer userId, String countryCode);

    /**
     * 每日收益
     * @param userId
     * @param countryCode
     * @param today
     * @return
     */
    BigDecimal queryDailyFreezeIncome(Integer userId, String countryCode, LocalDate today);

    /**
     * 当月收益
     * @param userId
     * @param countryCode
     * @param today
     * @return
     */
    BigDecimal queryMonthlyFreezeIncome(Integer userId, String countryCode, LocalDate today);

}
